const mongoose = require('mongoose')

const schema = new mongoose.Schema({ 
    name: { type: String },
    desc: { type: String},
    class: { type: String },
    specifications: { type: String },
    unit: { type: String },
    provider: { type: String },
    area: { type: String },
    shelves_time: { type: Date },
    number: { type: Number},
    numbers: { type: Number },
    price: { type: String },
    oprice: { type: String },
    status: { type: String},
    goods_imgUrl: { type: Array },
    detail_imgUrl: { type: Array },
    goods_detail: { type: String },
    value: { type: Number },
    sq_fencheng: { type: String },
    phone:{ type: String },
})
module.exports = mongoose.model('Goodslist', schema)
